package com.sinochem.iot.rule.common;

public  class ConstMap {
    public static final String RULE="rule";
    public static final String ACTION="action";
    public static final String CONDITION="condition";

    public enum ActionEnum {
        DataStore(1, "数据存储"),
        Message(2, "短信通知"),
        Email(3, "邮件告警"),
        Device(4, "触发设备"),
        ;
        public final Integer value;
        public final String name;

        private ActionEnum(Integer value, String name) {
            this.value = value;
            this.name = name;
        }

    }
}
